
class AboutsController < ApplicationController

  after_action :generate_etag

  def privacy
    if is_h5?
      render template: 'about/h5/privacy', layout: 'h5/about'
    end
  end

  def agreement
  end

  #下单
  def order
  end

  #支付方式
  def payment

  end

  def service
  end

  def brand
  end

  def culture
  end

  def core
  end

  def case
  end

  def contact

  end

  def outlets
  end

  def join
  end

  def customer_service
  end

  def get_service_outlets
    render json: ServiceRegion.all
  end

  private

  def generate_etag
    fresh_when(etag: 'about_page')
  end

end

